home *** CD-ROM | disk | FTP | other *** search
- depth = 0;
- level = 1;
- lives = 6;
- score = 0;
- fps = 48;
- stopAllSounds();
- bombnum = 0;
- if(!settter)
- {
- _quality = "medium";
- mw = "mouse";
- settter = true;
- }
- newMenu = new ContextMenu();
- newMenu.hideBuiltInItems();
- _root.menu = newMenu;
- checkFrame = function(which)
- {
- if(which.frameStart != _root._currentframe)
- {
- which.removeMovieClip();
- }
- };
- setFrame = function(which)
- {
- which.frameStart = _root._currentframe;
- };
- createLevel = function()
- {
- _root.clear();
- attachMovie("background","background",++depth);
- attachMovie("light","light",++depth);
- light._x = _root.cannon._x;
- light._alpha = 20;
- attachMovie("cannon","cannon",++depth);
- _root.cannon._x = Stage.width / 2;
- _root.cannon._y = Stage.height - 50;
- music = new Sound();
- music.attachSound("music1");
- music.onSoundComplete = function()
- {
- music.start();
- };
- attachMovie("bloopCreator","bloopCreator",++depth);
- music.start();
- attachMovie("bombout","bombout",++depth);
- attachMovie("word","word",++depth);
- attachMovie("hud","hud",++depth);
- };
-